package com.ak.controller;

import lombok.extern.slf4j.Slf4j;
import com.ak.utils.R;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author xk
 * @create 2023/11/29 10:41
 * @since 1.0.0
 */
@Slf4j
@RestController
@RefreshScope
@RequestMapping("/od")
public class TestController {


    @GetMapping("/test")
    public R getTest(){
//        System.out.println(test);
        System.err.println("--------------------------------这里来到了order2服务");
        return R.ok();
    }

}
